package com.librelato.webservices;

import com.librelato.persistencia.config.PropriedadesDeConfiguracao;
import com.librelato.persistencia.config.PropriedadesDeConfiguracaoEnum;

public class DadosSc  implements java.io.Serializable {
	private static final long serialVersionUID = 318539057168535637L;

	private String arma;

    private String cc;

    private String comprador;

    private String descr;

    private String dtCad;

    private String dtNece;

    private String filial;

    private Long idUser;

    private String nUser;

    private String obs;

    private String op;

    private String prod;

    private Double qtde;

    private String um;
    
    private String ums;

    private String uniReq;
    
    private static String ip = PropriedadesDeConfiguracao.getInstance()
			.getValorPropriedade(PropriedadesDeConfiguracaoEnum.WSDL_IP);

    public DadosSc() {
    }

    public DadosSc(
           String arma,
           String cc,
           String comprador,
           String descr,
           String dtCad,
           String dtNece,
           String filial,
           Long idUser,
           String nUser,
           String obs,
           String op,
           String prod,
           Double qtde,
           String um,
           String uniReq,
           String ums) {;
           this.arma = arma;
           this.cc = cc;
           this.comprador = comprador;
           this.descr = descr;
           this.dtCad = dtCad;
           this.dtNece = dtNece;
           this.filial = filial;
           this.idUser = idUser;
           this.nUser = nUser;
           this.obs = obs;
           this.op = op;
           this.prod = prod;
           this.qtde = qtde;
           this.um = um;
           this.uniReq = uniReq;
           this.ums = ums;
    }


    /**
     * Gets the ARMA value for this DADOSSC.
     * 
     * @return ARMA
     */
    public java.lang.String getArma() {
        return arma;
    }


    /**
     * Sets the ARMA value for this DADOSSC.
     * 
     * @param arma
     */
    public void setArma(java.lang.String arma) {
        this.arma = arma;
    }


    /**
     * Gets the CC value for this DADOSSC.
     * 
     * @return CC
     */
    public java.lang.String getCc() {
        return cc;
    }


    /**
     * Sets the CC value for this DADOSSC.
     * 
     * @param cc
     */
    public void setCc(java.lang.String cc) {
        this.cc = cc;
    }


    /**
     * Gets the COMPRADOR value for this DADOSSC.
     * 
     * @return COMPRADOR
     */
    public java.lang.String getComprador() {
        return comprador;
    }


    /**
     * Sets the COMPRADOR value for this DADOSSC.
     * 
     * @param comprador
     */
    public void setComprador(java.lang.String comprador) {
        this.comprador = comprador;
    }


    /**
     * Gets the DESCR value for this DADOSSC.
     * 
     * @return DESCR
     */
    public java.lang.String getDescr() {
        return descr;
    }


    /**
     * Sets the DESCR value for this DADOSSC.
     * 
     * @param descr
     */
    public void setDescr(java.lang.String descr) {
        this.descr = descr;
    }


    /**
     * Gets the DTCAD value for this DADOSSC.
     * 
     * @return DTCAD
     */
    public java.lang.String getDtCad() {
        return dtCad;
    }


    /**
     * Sets the DTCAD value for this DADOSSC.
     * 
     * @param dtCad
     */
    public void setDtCad(java.lang.String dtCad) {
        this.dtCad = dtCad;
    }


    /**
     * Gets the DTNECE value for this DADOSSC.
     * 
     * @return DTNECE
     */
    public java.lang.String getDtNece() {
        return dtNece;
    }


    /**
     * Sets the DTNECE value for this DADOSSC.
     * 
     * @param dtNece
     */
    public void setDtNece(java.lang.String dtNece) {
        this.dtNece = dtNece;
    }


    /**
     * Gets the FILIAL value for this DADOSSC.
     * 
     * @return FILIAL
     */
    public java.lang.String getFilial() {
        return filial;
    }


    /**
     * Sets the FILIAL value for this DADOSSC.
     * 
     * @param filial
     */
    public void setFilial(java.lang.String filial) {
        this.filial = filial;
    }


    /**
     * Gets the IDUSER value for this DADOSSC.
     * 
     * @return IDUSER
     */
    public Long getIdUser() {
        return idUser;
    }


    /**
     * Sets the IDUSER value for this DADOSSC.
     * 
     * @param idUser
     */
    public void setIdUser(Long idUser) {
        this.idUser = idUser;
    }


    /**
     * Gets the NUSER value for this DADOSSC.
     * 
     * @return NUSER
     */
    public java.lang.String getNUser() {
        return nUser;
    }


    /**
     * Sets the NUSER value for this DADOSSC.
     * 
     * @param nUser
     */
    public void setNUser(java.lang.String nUser) {
        this.nUser = nUser;
    }


    /**
     * Gets the OBS value for this DADOSSC.
     * 
     * @return OBS
     */
    public java.lang.String getObs() {
        return obs;
    }


    /**
     * Sets the OBS value for this DADOSSC.
     * 
     * @param obs
     */
    public void setObs(java.lang.String obs) {
        this.obs = obs;
    }


    /**
     * Gets the OP value for this DADOSSC.
     * 
     * @return OP
     */
    public java.lang.String getOp() {
        return op;
    }


    /**
     * Sets the OP value for this DADOSSC.
     * 
     * @param op
     */
    public void setOp(java.lang.String op) {
        this.op = op;
    }


    /**
     * Gets the PROD value for this DADOSSC.
     * 
     * @return PROD
     */
    public java.lang.String getProd() {
        return prod;
    }


    /**
     * Sets the PROD value for this DADOSSC.
     * 
     * @param prod
     */
    public void setProd(java.lang.String prod) {
        this.prod = prod;
    }


    /**
     * Gets the QTDE value for this DADOSSC.
     * 
     * @return QTDE
     */
    public Double getQtde() {
        return qtde;
    }


    /**
     * Sets the QTDE value for this DADOSSC.
     * 
     * @param qtde
     */
    public void setQtde(Double qtde) {
        this.qtde = qtde;
    }


    /**
     * Gets the UM value for this DADOSSC.
     * 
     * @return UM
     */
    public java.lang.String getUM() {
        return um;
    }


    /**
     * Sets the UM value for this DADOSSC.
     * 
     * @param um
     */
    public void setUM(java.lang.String um) {
        this.um = um;
    }


    /**
     * Gets the UNIREQ value for this DADOSSC.
     * 
     * @return UNIREQ
     */
    public java.lang.String getUniReq() {
        return uniReq;
    }


    /**
     * Sets the UNIREQ value for this DADOSSC.
     * 
     * @param uniReq
     */
    public void setUniReq(java.lang.String uniReq) {
        this.uniReq = uniReq;
    }
    
    /**
     * Gets the UMS value for this DADOSSC.
     * 
     * @return UMS
     */    
    public String getUms() {
		return ums;
	}
    
    /**
     * Sets the UMS value for this DADOSSC.
     * 
     * @param ums
     */
    
    public void setUms(String ums) {
		this.ums = ums;
	}

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof DadosSc)) return false;
        DadosSc other = (DadosSc) obj;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.arma==null && other.getArma()==null) || 
             (this.arma!=null &&
              this.arma.equals(other.getArma()))) &&
            ((this.cc==null && other.getCc()==null) || 
             (this.cc!=null &&
              this.cc.equals(other.getCc()))) &&
            ((this.comprador==null && other.getComprador()==null) || 
             (this.comprador!=null &&
              this.comprador.equals(other.getComprador()))) &&
            ((this.descr==null && other.getDescr()==null) || 
             (this.descr!=null &&
              this.descr.equals(other.getDescr()))) &&
            ((this.dtCad==null && other.getDtCad()==null) || 
             (this.dtCad!=null &&
              this.dtCad.equals(other.getDtCad()))) &&
            ((this.dtNece==null && other.getDtNece()==null) || 
             (this.dtNece!=null &&
              this.dtNece.equals(other.getDtNece()))) &&
            ((this.filial==null && other.getFilial()==null) || 
             (this.filial!=null &&
              this.filial.equals(other.getFilial()))) &&
            ((this.idUser==null && other.getIdUser()==null) || 
             (this.idUser!=null &&
              this.idUser.equals(other.getIdUser()))) &&
            ((this.nUser==null && other.getNUser()==null) || 
             (this.nUser!=null &&
              this.nUser.equals(other.getNUser()))) &&
            ((this.obs==null && other.getObs()==null) || 
             (this.obs!=null &&
              this.obs.equals(other.getObs()))) &&
            ((this.op==null && other.getOp()==null) || 
             (this.op!=null &&
              this.op.equals(other.getOp()))) &&
            ((this.prod==null && other.getProd()==null) || 
             (this.prod!=null &&
              this.prod.equals(other.getProd()))) &&
            ((this.qtde==null && other.getQtde()==null) || 
             (this.qtde!=null &&
              this.qtde.equals(other.getQtde()))) &&
            ((this.um==null && other.getUM()==null) || 
             (this.um!=null &&
              this.um.equals(other.getUM()))) &&
            ((this.uniReq==null && other.getUniReq()==null) || 
             (this.uniReq!=null &&
              this.uniReq.equals(other.getUniReq())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getArma() != null) {
            _hashCode += getArma().hashCode();
        }
        if (getCc() != null) {
            _hashCode += getCc().hashCode();
        }
        if (getComprador() != null) {
            _hashCode += getComprador().hashCode();
        }
        if (getDescr() != null) {
            _hashCode += getDescr().hashCode();
        }
        if (getDtCad() != null) {
            _hashCode += getDtCad().hashCode();
        }
        if (getDtNece() != null) {
            _hashCode += getDtNece().hashCode();
        }
        if (getFilial() != null) {
            _hashCode += getFilial().hashCode();
        }
        if (getIdUser() != null) {
            _hashCode += getIdUser().hashCode();
        }
        if (getNUser() != null) {
            _hashCode += getNUser().hashCode();
        }
        if (getObs() != null) {
            _hashCode += getObs().hashCode();
        }
        if (getOp() != null) {
            _hashCode += getOp().hashCode();
        }
        if (getProd() != null) {
            _hashCode += getProd().hashCode();
        }
        if (getQtde() != null) {
            _hashCode += getQtde().hashCode();
        }
        if (getUM() != null) {
            _hashCode += getUM().hashCode();
        }
        if (getUniReq() != null) {
            _hashCode += getUniReq().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(DadosSc.class, true);

    static {
        typeDesc.setXmlType(new javax.xml.namespace.QName(ip, "DADOSSC"));
        org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("ARMA");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "ARMA"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("CC");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "CC"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("COMPRADOR");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "COMPRADOR"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("DESCR");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "DESCR"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("DTCAD");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "DTCAD"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("DTNECE");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "DTNECE"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("FILIAL");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "FILIAL"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("IDUSER");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "IDUSER"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("NUSER");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "NUSER"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("OBS");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "OBS"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("OP");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "OP"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("PROD");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "PROD"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("QTDE");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "QTDE"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("UM");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "UM"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("UNIREQ");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "UNIREQ"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
        elemField = new org.apache.axis.description.ElementDesc();
        elemField.setFieldName("UMS");
        elemField.setXmlName(new javax.xml.namespace.QName(ip, "UMS"));
        elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
        elemField.setNillable(false);
        typeDesc.addFieldDesc(elemField);
    }

    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

    /**
     * Get Custom Serializer
     */
    @SuppressWarnings("rawtypes")
	public static org.apache.axis.encoding.Serializer getSerializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType, _xmlType, typeDesc);
    }

    /**
     * Get Custom Deserializer
     */
    @SuppressWarnings("rawtypes")
	public static org.apache.axis.encoding.Deserializer getDeserializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}
